package com.xiaoq.sites.service;

import java.util.List;

import com.xiaoq.sites.entity.SitesAnnouncementEntity;
import com.xiaoq.vo.PagingVo;

public interface IAnnouncementService {
	
	public List<SitesAnnouncementEntity> findAnnBySites(PagingVo pvo,
			String sitesId);
	public List<SitesAnnouncementEntity> findAnnByCity(PagingVo pvo,
			String zoneCity,String zoneDistrict);
	
	public boolean addSitesAnnounment(SitesAnnouncementEntity sitesAnnouncementEntity);
	/**
	 * 删除一条公告
	 * @param annId
	 * @return
	 */
	public boolean delSitesAnnounment(String annId);
	
	/**
	 * 使一条公告失效
	 * @param annId
	 * @return
	 */
	public boolean invalSitesAnnounment(String annId);
	
	public boolean editSitesAnnounment(SitesAnnouncementEntity sitesAnnouncementEntity);
	
	/**
	 * 根据公告Id获取公告详情
	 * @param announId
	 * @return
	 */
	public SitesAnnouncementEntity getSitesAnnounce(String id);

}
